// define TokenType and State

typedef enum {
    CREATE,
        TABLE, INT, DEFAULT, PRIMARY, KEY,
    INSERT,
        INTO, VALUES,
    SELECT,
    DELETE,
        FROM, WHERE,

    IDENTIFIER, NUM,

    SC,
    COMMA,
    LP, RP,
    PLUS, MINUS, MUL, DIV,
    AND, OR, NOT,
    LT, GT, EQ, NE, LE, GE,
    ASSIGN,

    ERROR
} TokenType;
